package com.woniu.service;

import com.github.pagehelper.PageInfo;
import com.woniu.entity.FlowerInfo;
import com.woniu.entity.FlowerType;
import com.woniu.vo.FlowerInfoVo;

import java.util.List;

public interface FlowerInfoService {
    PageInfo<FlowerInfoVo> selectAllFlowerInfo(Integer pageNum, Integer pageSize,String flowerName,Long startTime,Long endTime,Integer isDelete);
    
    int updateFlowerInfoByFlowerIdToStatus(FlowerInfo flowerInfo);
    
    List<FlowerInfo> selectAllFlowerInfoByIsDelete(FlowerInfo flowerInfo);
    
    int addFlowerInfo(FlowerInfo flowerInfo);
    
    int updateFlowerInfo(FlowerInfo flowerInfo);
    List<FlowerType> selectAllFlowerType();
}
